DataSource for Entity Framework in WPF
C1.LiveLinq Namespace / CompiledQuery Class / Compile Method / Compile<T,TResult>(Expression<Func<T,IIndexedSource<TResult>>>) Method
The type of the parameter that has to be passed in when executing the delegate returned by the Compile method.
The type of TResult in the IIndexedSource<TResult> returned when executing the delegate returned by the Compile method.
The query expression to be compiled.

In This Topic
    Compile<T,TResult>(Expression<Func<T,IIndexedSource<TResult>>>) Method
    In This Topic
    Compiles the query.
    Syntax

    Parameters

    query
    The query expression to be compiled.

    Type Parameters

    T
    The type of the parameter that has to be passed in when executing the delegate returned by the Compile method.
    TResult
    The type of TResult in the IIndexedSource<TResult> returned when executing the delegate returned by the Compile method.

    Return Value

    The delegate to be called to execute the compiled query with particular parameter values.
    See Also